package com.zoke.loveway.adapter;

import java.util.List;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.PagerAdapter;

public class BaseFragmentPagerAdapter extends FragmentPagerAdapter {

	public List<? extends Object> mdatas;

	public BaseFragmentPagerAdapter(FragmentManager fm) {
		super(fm);
	}

	public BaseFragmentPagerAdapter(FragmentManager fm,
			List<? extends Object> list) {
		super(fm);
		this.mdatas = list;
	}

	@Override
	public Fragment getItem(int arg0) {
		return null;
	}

	@Override
	public int getItemPosition(Object object) {
		return PagerAdapter.POSITION_NONE;
	}

	@Override
	public int getCount() {
		return mdatas.size();
	}

}
